package com.rybbaby.tss.front.tssMemberReturnPremium.service.imp;

import com.rybbaby.tss.core.web.service.imp.BaseServiceImp;
import com.rybbaby.tss.front.tssMemberReturnPremium.dao.IViewRefundListDao;
import com.rybbaby.tss.front.tssMemberReturnPremium.entity.ViewRefundList;
import com.rybbaby.tss.front.tssMemberReturnPremium.service.IViewRefundListService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @description 会员退费记录表数据库操作服务实现
 * 
 * @author 雷春琼
 * 
 * @createDate 2017-08-10 上午12:14:02
 */
@Service
@Transactional
public class ViewRefundListServiceImp extends BaseServiceImp<ViewRefundList> implements IViewRefundListService {


    @Autowired
    private IViewRefundListDao IViewRefundListDao;

    @Override
    public List<ViewRefundList> packageRefundList(String stuId)  throws Exception{
        return IViewRefundListDao.packageRefundList(stuId);
    }

    @Override
    public List<ViewRefundList> paymentRefundList(String stuId) throws Exception {
        return IViewRefundListDao.paymentRefundList(stuId);
    }

    @Override
    public List<ViewRefundList> depositRefundList(String stuId) throws Exception {
        return IViewRefundListDao.depositRefundList(stuId);
    }

    @Override
    public List<ViewRefundList> registeryFeeRefundList(String stuId) throws Exception {
        return IViewRefundListDao.registeryFeeRefundList(stuId);
    }

}
